<?php
require_once ('function.php');
$bitches = show_bitches();
?>
<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <title></title>
    </head>
    <body>
        <?php foreach ($bitches as $b): ?>
        <div class="bitch">
            <a href="bitchprofile.php?bitch_id=<?php echo $b["id"]; ?>">
                <p><?php echo $b['surnom']; ?></p>
                <img class="bitch-min" src="<?php echo $b['img_url']; ?>" alt="" />
            </a>
        </div>
       <?php        endforeach; ?> 
    </body>
</html>
